package org.madbit.pingu.entity;

import org.madbit.pingu.common.ConnectionState;

public class Connection {
	
	private int cid;
	private String name;
	private String ip;
	private ConnectionState state;
	
	/**
	 * @return the cid
	 */
	public int getCid() {
		return cid;
	}
	/**
	 * @param cid the cid to set
	 */
	public void setCid(int cid) {
		this.cid = cid;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * @param ip the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}
	/**
	 * @return the state
	 */
	public ConnectionState getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(ConnectionState state) {
		this.state = state;
	}
	
	
	
	

}
